package com.padakeji.android.pworks.module.image.entity;

import java.io.Serializable;

/**
 * Created by AtanL on 2015/9/16.
 */
public class ImageInfo implements Serializable {

    public int id;
    public String path;

    @Override
    public int hashCode() {
        return id;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof ImageInfo)) {
            return false;
        }
        ImageInfo i = (ImageInfo) o;
        return this.id == i.id;
    }
}
